-- GENERATED SPELL FOR [Warsong Shredder] --


function spell0_11684(pUnit, Event) --@Overdrive,Self--
pUnit:FullCastSpellOnTarget(18546,pUnit)
pUnit:RegisterEvent('Sorts_11684', 6264, 1)
end

function Sorts_11684(pUnit, Event)
local choix_sorts_11684 = math.random(0, 0)
if choix_sorts_11684 == 0 then
pUnit:RegisterEvent('spell0_11684', 1, 1)
end
end

function mob11684_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_11684', math.random(1500, 3000), 1)
end

function mob11684_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11684_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11684_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(11684, 1, 'mob11684_Action')
RegisterUnitEvent(11684, 2, 'mob11684_Leave')
RegisterUnitEvent(11684, 3, 'mob11684_Kill')
RegisterUnitEvent(11684, 4, 'mob11684_Die')
